isDart function

bool isDart()

Whether this is being called by dart vs a compiled application

Implementation

bool isDart() => p.basenameWithoutExtension(Platform.resolvedExecutable) == 'dart';