Sha256: 3992462b2463c4aca758e4262f179be9d5cf3e4a14b7e495c0214463318604b6
Contents?: true
Size: 440 Bytes
Versions: 24
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Handlebarsjs module Helpers # Comparison helpers, eg. or, and, equal, not equal, less than, greater than etc. module Comparison # Eq: Return true if two values are equal class Eq < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Comparison::Eq) def to_proc ->(lhs, rhs, _opts) { wrapper(cmdlet.call(lhs, rhs)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems