Function isV2Addon

  • Parameters

    • Optional dir: string

      optionally override the directory to read from -- defaults to the current working directory

    Returns Promise<boolean>

    true if the project is an ember project and is a v2 addon

    Example

    import { ember } from 'ember-apply';

    await ember.isV2Addon();