Sha256: 7426ac19f26a8d348986a39786fc79ec1e09e23ae8b0b560e0e2e362c4697d60
Contents?: true
Size: 394 Bytes
Versions: 5
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module LanguageServer module TypeHelper def input_type_of(literal) case literal when String 'string' when Numeric 'number' when TrueClass, FalseClass 'boolean' when NilClass 'nil' else 'untyped' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems