Importing check function?

If I want to explicitly import everything, how do I import the check function? I can’t figure out where it’s actually defined. I’ve already tried importing it from meteor/meteor and meteor/check.

import { check } from 'meteor/check'

should work. When in doubt take a look at the updated content. Import statements are included in the docs.

Oh wow, I didn’t know they updated the docs to have import statements. Very cool. Thanks!

Strange, it works now. I swear I tried that and it didn’t work, but it wasn’t working. Gremlins in the code.

1 Like