Enum with symbols
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Determine if a value is an ES6 Symbol or not.
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
ECMAScript 6 Symbol polyfill
Symbol.observable ponyfill
Turn any collection of objects into its own efficient tree or linked list using Symbol
micromark utility with symbols
Tests if ES6 Symbol is supported.
Stable JS value hash.
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Html Symbol Entities dictionary for cspell.
Like `Object.keys()` but also includes symbols
Detect native Symbol support.
Assign the enumerable es6 Symbol properties from one or more objects to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.
A function to lookup the currency symbol for a given currency code
Symbols.
A script to generate a symbol sprite from SVG files
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
Cross-platform info symbol.
Registry for SS58 account types
Returns an array of all enumerable symbol properties found directly upon a given object
Determine if the JS environment has Symbol support. Supports spec, or shams.
Cross-platform success symbol.
Symbolized enum for activerecord
Changes the return value of enums to symbols.
Allows your rails models and views to take advantage of MySQL's native enum type. Forked from electronick's gem to address http://osvdb.org/show/osvdb/94679
A model attribute enums plugin for Rails3. like 'symbolize' gem.
symbolic_enum is an alternative implementation of Rails enum which always returns symbols and works with array as well.
Merb plugin that provides symbolized attribute values (nice enums) for AR
enums - safe enumeration types - a set of symbolic keys bound to unique integer numbers (incl. bit flags option)
Define type-safe enums in Ruby with automatic ordinals, custom values, lookup methods, and Ruby 3.x pattern matching support. A cleaner alternative to ad-hoc constants and symbol sets.
I like symbols in my code, and integers in my database. I also like to control the symbol's value. E Pluribus Enum, its like E pluribus unum, but for code
Predicateable allows you to define predicate methods (like `admin?`) based on a method that returns a Symbol. Similar to Rails enums, with optional strict checking and prefix support.
A java like Enum class for ruby. A while ago I was exploring Java, and came across the Enum class, which had some interesting functionality, and I decided that I would like something like it. Conceptually if you just need a unique identifier you may be perfectly happy using a :symbol, and that would likely be a simpler way of having a controll flag. However, if you want to have a set of unique identifiers that you can address, iterate over, assign properties to, etc, then this may be something you would be interested in.
No description provided.
No description provided.