DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Guides
  • Core
    • can-component
    • can-compute
    • can-connect
    • can-define
    • can-define/list/list
    • can-define/map/map
    • can-route
    • can-route-pushstate
    • can-set
      • types
        • Set
        • Compares
        • Prop
      • properties
        • Algebra
        • Translate
        • props
          • boolean
          • enum
          • id
          • offsetLimit
          • rangeInclusive
          • sort
    • can-stache
    • can-stache/helpers/route
    • can-stache-bindings
  • Ecosystem
  • Infrastructure
  • Legacy
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • CanJS
  • /
  • Core
  • /
  • can-set
  • /
  • props
  • / On this page
    • props

      property

      Contains a collection of prop generating functions. The following functions create compares objects that can be mixed together to create a set Algebra.

      var set = require("can-set");
      var algebra = new set.Algebra(
        {
          // ignore this property in set algebra
          sessionId:  function(){ return true }
        },
        set.props.boolean("completed"),
        set.props.rangeInclusive("start","end")
      );
      
      • source

      Object

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.