declaresDouble static method

bool declaresDouble(
  1. STypeAnnotation? type
)

Implementation

static bool declaresDouble(STypeAnnotation? type) =>
    type is SNamedType && type.name?.name == 'double';