<filename>ramda/prop_is_test.py<gh_stars>10-100
from ramda import *
from ramda.private.asserts import *
from numbers import Number


def prop_is_test():
    assert_equal(prop_is(Number, "x", {"x": 1, "y": 2}), True)
    assert_equal(prop_is(Number, "x", {"x": "foo"}), False)
    assert_equal(prop_is(Number, "x", {}), False)

<filename>ramda/prop_is_test.py<gh_stars>10-100
from ramda import *
from ramda.private.asserts import *
from numbers import Number


def prop_is_test():
    assert_equal(prop_is(Number, "x", {"x": 1, "y": 2}), True)
    assert_equal(prop_is(Number, "x", {"x": "foo"}), False)
    assert_equal(prop_is(Number, "x", {}), False)
